Skip to main content

bottomPixel

Type​

property

Summary​

Specifies which entry in the color table is used for the color of a three-D object's lowered edge.

Syntax​

set the bottomPixel of <object> to <colorNumber>

Description​

Use the bottomPixel property to change the bottom color of an object when the bit depth of the screen is 8 bits (256 colors) or less.

The bottomPixel property specifies which entry in the color table is used for an object's bottom color. It is similar to the bottomColor property, but is specified as an entry in the current color table, rather than as a color reference.

The color table can be set by changing the colorMap property.

Examples​

set the bottomPixel of field "Status" to 14

Value​

NameTypeDescription

value

The bottomPixel of an object is an integer between zero and (the screenColors - 1). It designates an entry in the current color table. By default, the bottomPixel for all objects is empty.

glossary: object, property, bit depth, bit, color reference, color table

keyword: integer

property: borderPixel, bottomColor

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?